<?php

use yii\db\Schema;
use yii\db\Migration;

class m150413_120631_retarget_site extends Migration
{
    public function up()
    {
        $this->addColumn('{{%retarget_site}}', 'retarget_check_url', "varchar(1024) NOT NULL COMMENT 'server cookie mapping url' after url");
    }

    public function down()
    {
        $this->dropColumn('{{%retarget_site}}', 'retarget_cherck_url');
        return true;
    }
}
